#pragma once
#include "stdafx.h"

class MouseCursor
{
public:
	MouseCursor(unsigned int width, unsigned int height);
	void setWindowDimensions(unsigned int width, unsigned int height);
	void setVisible(bool visible);
	void updatePosition(int x, int y);

protected:
	Ogre::Real clamp(Ogre::Real a, Ogre::Real min, Ogre::Real max);

private:
	Ogre::Overlay* guiOverlay;
	Ogre::OverlayContainer* cursorContainer;
	Ogre::MaterialPtr material;

	Ogre::Real windowWidth;
	Ogre::Real windowHeight;
};